package site.xuqing.androidbase.core;

import android.app.Application;

import androidx.annotation.CallSuper;

/**
 * @author xuqing
 * @Description TODO
 * @createTime 2021年12月13日 13:28:10
 */
public abstract class BaseApplication extends Application {
    public static Application instance;
    
    @Override
    @CallSuper
    public void onCreate() {
        super.onCreate();
        instance = this;
    }
    
    public static Application getInstance() {
        return instance;
    }
}
